DUMP.EXE
Script dumper for 'Radiant Historia' - Nintendo DS
Copyright (C) 2012 CUE
http://romxhack.esforos.com/

Usage: DUMP fonttbl tablename filename [filename [...]]\n"

* 'fonttbl' is the font table used by the game
* 'tablename' is the table of conversion
* create the '.txt' file from the '.msg' file
* create the '.new' file from the '.txt' file
* multiple filenames and wildcards are permitted


Font files:
- 'font.bin' is the original USA font
- 'font_sp.bin' is the new SPANISH font with some spanish characters added


Font tables:
- 'fonttbl.bin' is the original table
- 'fonttbl-sp.bin' is the spanish modified table
for each character: 2 bytes with the character code (CODEPAGE 932)


Conversion tables:
- 'rh.tbl' to extract the script
- 'rh_sp.tbl' to insert the script with some spanish characters added


You need PACKER.EXE to extract all game files (http://www.romhacking.net/utilities/871/)

To extract the script:
DUMP fonttbl.bin rh.tbl *.msg

To insert the script (using the spanish files):
DUMP fonttbl_sp.bin rh_sp.tbl *.txt 


To modify the character width:
- decode 'ARM9.BIN' with 'BLZ.EXE' (http://www.romhacking.net/utilities/826/)
- put 4 zeroes in ARM9.BIN:0x000B9C to use the decoded ARM9.BIN in the game
- modify the character width @ 0x150008 (characters 0x00-0x7F, 1 byte/character)


Enjoy
CUE